package com.jjty.dataGenerator.akq.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("akq_request_log")
public class RequestLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private String requestUrl;
    private String requestMethod;
    private String requestBody;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime requestTime;
    private boolean isSuccess;
    private String notes;
    private String ip;
}